for $b in document("bib.xml")/bib/book,
    $t in $b/title,
    $a in $b/author
return
    $a/last

